<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>订单详情</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="assets/common.css">
    <style>
        .order-status {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
        }
        .status-waiting {
            background-color: #fff6e9;
            color: #e67e22;
        }
        .order-progress {
            padding: 20px 0;
        }
        .progress-step {
            display: flex;
            position: relative;
            padding-bottom: 30px;
        }
        .progress-step:last-child {
            padding-bottom: 0;
        }
        .progress-step::before {
            content: "";
            position: absolute;
            left: 12px;
            top: 24px;
            bottom: 0;
            width: 1px;
            background-color: #eaeaea;
        }
        .progress-step:last-child::before {
            display: none;
        }
        .progress-marker {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: #eaeaea;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            position: relative;
            z-index: 2;
            flex-shrink: 0;
        }
        .progress-marker.active {
            background-color: #fd79a8;
        }
        .progress-marker i {
            font-size: 12px;
        }
        .qr-code {
            width: 180px;
            height: 180px;
            background-color: #f5f5f5;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            color: #999;
            border: 1px solid #eaeaea;
        }
        .order-number {
            background-color: #f9f9f9;
            padding: 10px;
            border-radius: 6px;
            font-family: monospace;
            letter-spacing: 1px;
            text-align: center;
            margin: 10px 0;
        }
    </style>
</head>
<body>
    <div class="wechat-container">
        <div class="wechat-header">
            <div class="wechat-back">
                <i class="fas fa-chevron-left"></i>
            </div>
            订单详情
        </div>
        
        <div class="wechat-content">
            <!-- Order Overview -->
            <div class="wechat-card">
                <div class="flex justify-between items-start">
                    <div>
                        <div class="flex items-center gap-2">
                            <div class="font-bold">林夕摄影</div>
                            <div class="order-status status-waiting">等待中</div>
                        </div>
                        <div class="text-sm text-gray mt-1">基础写真套餐</div>
                    </div>
                    <div class="bg-pink-100 text-pink rounded-full w-6 h-6 flex items-center justify-center text-sm font-bold">4</div>
                </div>
                
                <div class="wechat-divider"></div>
                
                <div class="text-sm">
                    <div class="flex justify-between mb-1">
                        <div class="text-gray">订单号</div>
                        <div>P202406150034</div>
                    </div>
                    <div class="flex justify-between mb-1">
                        <div class="text-gray">创建时间</div>
                        <div>2024-06-15 09:45</div>
                    </div>
                    <div class="flex justify-between mb-1">
                        <div class="text-gray">预约时间</div>
                        <div>2024-06-15 11:30</div>
                    </div>
                    <div class="flex justify-between">
                        <div class="text-gray">支付方式</div>
                        <div>微信支付</div>
                    </div>
                </div>
            </div>
            
            <!-- Order Progress -->
            <div class="wechat-card mt-4">
                <h3 class="font-bold mb-2">订单进度</h3>
                
                <div class="order-progress">
                    <div class="progress-step">
                        <div class="progress-marker active">
                            <i class="fas fa-check"></i>
                        </div>
                        <div>
                            <div class="font-bold">订单创建</div>
                            <div class="text-xs text-gray">2024-06-15 09:45</div>
                        </div>
                    </div>
                    
                    <div class="progress-step">
                        <div class="progress-marker active">
                            <i class="fas fa-check"></i>
                        </div>
                        <div>
                            <div class="font-bold">支付完成</div>
                            <div class="text-xs text-gray">2024-06-15 09:45</div>
                        </div>
                    </div>
                    
                    <div class="progress-step">
                        <div class="progress-marker">
                            <i class="fas fa-clock"></i>
                        </div>
                        <div>
                            <div class="font-bold">等待拍摄</div>
                            <div class="text-xs text-gray">预计 2024-06-15 11:30</div>
                        </div>
                    </div>
                    
                    <div class="progress-step">
                        <div class="progress-marker">
                            <i class="fas fa-camera"></i>
                        </div>
                        <div>
                            <div class="font-bold">拍摄中</div>
                            <div class="text-xs text-gray">预计 30 分钟</div>
                        </div>
                    </div>
                    
                    <div class="progress-step">
                        <div class="progress-marker">
                            <i class="fas fa-check"></i>
                        </div>
                        <div>
                            <div class="font-bold">拍摄完成</div>
                            <div class="text-xs text-gray">等待处理</div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- Queue Status -->
            <div class="wechat-card mt-4">
                <h3 class="font-bold mb-2">排队状态</h3>
                <div class="flex items-center gap-3">
                    <div class="bg-pink-100 text-pink rounded-full w-8 h-8 flex items-center justify-center font-bold">4</div>
                    <div>
                        <div>您当前排在第4位</div>
                        <div class="text-sm text-gray mt-1">预计等待时间：约45分钟</div>
                    </div>
                </div>
            </div>
            
            <!-- Booking Details -->
            <div class="wechat-card mt-4">
                <h3 class="font-bold mb-3">预约详情</h3>
                
                <div class="text-sm">
                    <div class="flex justify-between mb-2">
                        <div class="text-gray">套餐名称</div>
                        <div>基础写真套餐</div>
                    </div>
                    <div class="flex justify-between mb-2">
                        <div class="text-gray">套餐内容</div>
                        <div>15张精修照片，包含电子版</div>
                    </div>
                    <div class="flex justify-between mb-2">
                        <div class="text-gray">拍摄时长</div>
                        <div>约30分钟</div>
                    </div>
                    <div class="flex justify-between mb-2">
                        <div class="text-gray">预约人</div>
                        <div>张三</div>
                    </div>
                    <div class="flex justify-between mb-2">
                        <div class="text-gray">联系电话</div>
                        <div>138****6666</div>
                    </div>
                    <div class="flex justify-between mb-2">
                        <div class="text-gray">COSPLAY角色</div>
                        <div>初音未来</div>
                    </div>
                    <div class="flex mb-2">
                        <div class="text-gray mr-4">备注</div>
                        <div>希望能够在展会中心的喷泉旁拍几张</div>
                    </div>
                </div>
                
                <div class="wechat-divider"></div>
                
                <div class="flex justify-between font-bold">
                    <div>总价</div>
                    <div class="text-pink">¥199</div>
                </div>
            </div>
            
            <!-- Check-in QR Code -->
            <div class="wechat-card mt-4 text-center">
                <h3 class="font-bold mb-3">入场凭证</h3>
                <p class="text-sm text-gray mb-2">到达现场后请出示此二维码</p>
                <div class="order-number">P202406150034</div>
                <div class="qr-code mt-2">
                    <i class="fas fa-qrcode"></i>
                </div>
            </div>
            
            <!-- Action Buttons -->
            <div class="flex gap-3 mt-6">
                <button class="wechat-btn wechat-btn-outline flex-1">
                    取消预约
                </button>
                <button class="wechat-btn flex-1">
                    联系摄影师
                </button>
            </div>
        </div>
    </div>
</body>
</html> 